<script>
	export default {
		onLaunch: function() {
			let user = uni.getStorageSync('user');
			console.log(user)
			// if(user == ''){
			// 	uni.showToast({
			// 		icon: 'none',
			// 		title: '请先登录'
			// 	})
				
			// 	uni.switchTab({
			// 		url:'/pages/login/login'
			// 	})
				
			// }else{
			// 	uni.reLaunch({
			// 		url:'/pages/index/index'
			// 	})
			// }
		},
		onShow: function() {
			
		},
		onHide: function() {
		},
		
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";

	 
	text,
	span,
	p {
		user-select: text;
		-webkit-user-select: text;
	}
	span{
		line-height: 24px;
	}
	html{
		background: #fff;
		font-family: 'PingFangSC-Regular', 'Source Han Sans CN' !important;
	}
	/* @import url("./static/css/index.css"); */
	/*每个页面公共css */
	::-webkit-scrollbar {
		display: none;  
		width: 0 !important;  
		height: 0 !important;  
		-webkit-appearance: none;  
		background: transparent;  
	}
	image{
		display: block;
		width:auto;
		height:auto;
	}
	// 高度不包括内外边距解决方法
	* {
		box-sizing: border-box;
	}
	/*苹果x适配 H5APP*/
	@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
		/* #ifdef H5 */
		/* #endif */
	}
	/*苹果xs适配 H5APP*/
	@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
		/* #ifdef H5 */
		/* #endif */
	}
	/*苹果xr适配 H5APP*/
	@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
		/* #ifdef H5 */
		/* #endif */
	}
	.iphonepage{
		height:calc(100vh - 150rpx) !important;
	}
	.u-collapse-head{
		color: #3ebcc8 !important;
		font-size: 1rem !important;
		font-weight: bold;
		border-bottom: 3upx solid #eee;
	}
	// .u-collapse-body{
	// 	height: auto !important;
	// }
	// .u-collapse-content{
	// 	padding-bottom: 1rem !important;
	// }
	p{
		padding-bottom: 0.8rem !important;
		img{
			width: 100%;
		}
	}
</style>
